package chap15;

public class Holder<T> {
      private T a;
      public Holder(T a){this.a=a;}
      public void set(T a){this.a=a;}
      public T get(){return a;}
      public static void main(String[] args) {
		Holder<BaseBread> h=new Holder<BaseBread>(new BaseBread());
		BaseBread b=h.get();
		LongBread l=(LongBread) h.get();
      }
}
